package org.huatek.anders.utils;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

/**
 * @author anders
 * @date 2018-12-07 13:23
 **/
public class BaseQueryWrapper<T> extends QueryWrapper<T> {
    private static final long serialVersionUID = 785357694513380160L;

    public BaseQueryWrapper(){
        this.eq("deleted","0");
        this.eq("state","0");
        this.orderByAsc("sort_no");
        this.orderByDesc("create_time");
    }
}
